package gupao.design.factory.abstractfactory;

import gupao.design.factory.ICourse;
import gupao.design.factory.JavaCourse;

/**
 * @author: liuchenhui
 * @create: 2019-04-14 14:58
 **/
public class JavaFactory implements IFactory {
    @Override
    public ICourse createCourse() {
        return new JavaCourse();
    }

    @Override
    public INote createNote() {
        return new JavaNote();
    }

    @Override
    public IVideo ceateVideo() {
        return new JavaVideo();
    }
}
